<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ include file="/pub/siteinclud.jsp"%>
<html>
<head>
<title>雅宝网 致力于服务雅宝路人的最大信息网</title>
<meta name="keywords" content="雅宝路 物流 交友 二手货 发货 甩货 免费发布信息"/>
<meta name="description" content="雅宝网，致力于服务雅宝路人的最大信息网。为你提供房产、车辆、招工、兼职、物流等海量雅宝路分类信息"/>
<script type="text/javascript"
	src="<%=path %>/resources/js/shouye.js"></script>
<link rel="stylesheet"
	href="<%=request.getContextPath() %>/site/${SiteAccessPath}/css/css.css"
	type="text/css"/>
<link rel="stylesheet"
	href="<%=request.getContextPath() %>/site/${SiteAccessPath}/css/global.css"
	type="text/css"/>
<script type="text/javascript">
	function changeType(typeId,constant){
		$.ajax({
			url :"<%=request.getContextPath() %>/ext/information/gethLists", //要访问的后台地址
		    data: "site_id=yblsite01&pageSize=14&type_id="+typeId, //要发送的数据
		    type : 'POST', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	   			var rows = data.recordList; 
	   			var aa = "<ul class='left'>";
		    	$.each(rows, function(i, n){
		    		var title=n.title;
		    		if(title.length>18){
		    			title = title.substr(0,18)+"...";
		    		}
		    		aa = aa+"<li><a href='xxzs?inforId="+n.id+"' target='_blank'>"+title+"</a><span>"+(new Date(n.createtime)).format("yyyy-MM-dd")+"</span></li>";
		    		if(i==6){
		    			aa+="</ul><ul class='right'>";
		    		}
		        }); 
				$("#"+constant).html(aa+"</ul>");
		    }
		});	
	}
	
	function setLeftList(typeId,constant){
		$.ajax({
			url :"<%=request.getContextPath() %>/ext/information/gethLists", //要访问的后台地址
		    data: "site_id=yblsite01&toHome=1&pageSize=3&type_id="+typeId, //要发送的数据
		    type : 'POST', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	   			var rows = data.recordList; 
	   			var aa = "";
		    	$.each(rows, function(i, n){
		   			var c = n.content;
		    		aa = aa+"<a href='xxzs?inforId="+n.id+"' target='_blank'>"+c+"</a><br>";
		        }); 
				$("#"+constant).html(aa);
		    }
		});	
		
	}
	function setdazhe(){
		$.ajax({
			url :"<%=request.getContextPath() %>/ext/information/gethLists", //要访问的后台地址
		    data: "site_id=yblsite01&pageSize=10&type_id=YBL046", //要发送的数据
		    type : 'POST', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	   			var rows = data.recordList; 
	   			var aa = "<ul class='left'>";
		    	$.each(rows, function(i, n){
		    		var title=n.title;
		    		if(title.length>13){
		    			title = title.substr(0,12)+"...";
		    		}
		    		aa = aa+"<li><a href='xxzs?inforId="+n.id+"' target='_blank'>"+title+"</a><span>"+(new Date(n.createtime)).format("yyyy-MM-dd")+"</span></li>";
		        }); 
				$("#dazhe_div").html(aa+"<li><a href='javascript:changem(\"YBL046\",\"餐饮打折\")'>更多折扣</a></li></ul>");
		    }
		});
	}
	function setswfw(){
		$.ajax({
			url :"<%=request.getContextPath() %>/ext/information/gethLists", //要访问的后台地址
		    data: "site_id=yblsite01&pageSize=7&type_id=YBL06", //要发送的数据
		    type : 'POST', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	   			var rows = data.recordList; 
	   			var aa = "<ul class='left'>";
		    	$.each(rows, function(i, n){
		    		var title=n.title;
		    		if(title.length>10){
		    			title = title.substr(0,9)+"...";
		    		}
		    		aa = aa+"<li><a href='xxzs?inforId="+n.id+"' target='_blank'>"+title+"</a><span>"+(new Date(n.createtime)).format("yyyy-MM-dd")+"</span></li>";
		        }); 
				$("#swfw_div").html(aa+"</ul>");
		    }
		});
	}
	function setnews(){
		$.ajax({
			url :"<%=path%>/cms/artgroup/grpArtlst", //要访问的后台地址
		    data: "site_id=yblsite01&currentPage=1&pageSize=9&grpId=0000000cf00132aee7debf", //要发送的数据
		    type : 'POST', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	   			var rows = data.recordList; 
	   			var aa = "<ul class='left'>";
		    	$.each(rows, function(i, n){
		    		var title=n.art_name;
		    		if(title.length>13){
		    			title = title.substr(0,18)+"...";
		    		}
		    		aa = aa+"<li><a href='xwzs?inforId="+n.id+"' target='_blank'>"+title+"</a></li>";
		        }); 
				$("#dazhe_div").html(aa+"</ul>");
		    }
		});
	}
	
	
	$(function(){
		changeType("YBL02","job_list_div");
		changeType("YBL01","hose_list_div");
		changeType("YBL04","life_list_div");
		setLeftList("YBL033","shouhuo_div");
		setLeftList("YBL051","shuaihuo_div");
		//setLeftList("YBL041","zhengjiao_div");征婚交友
		//setdazhe();	
		setswfw();
		setnews();
	})
</script>
</head>

<body>
<%@ include file="header.jsp" %>

<div class="main1">
  <div class="main_news left">
	<div class="main_NewsTitle">
   			<h2 class="left">聚焦雅宝路</h2>
<span class="right"><a href="newlist"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
		</div>
	  
      	<div class="newsMain">
            <div style=" width:210px; padding:10px; line-height:20px; color:#ff0000; font-size:12px" id="news_div">
          		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				雅宝网日前已经上线，目前处于功能测试和数据收集及宣传推广中。如果您在使用过程中有什么不便或者有更多好的想法，请及时和我们反馈。
				<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目前雅宝网为了回馈用户正在举行鼠标垫免费派发活动，详情<a href="http://www.58ybl.com/xxzs?inforId=000000349001326adcc2f1">点击查看</a>。
				<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;另外现在每个星期会抽取2名新注册用户，赠送U盘。
            </div>
		</div>
    </div>
  <div class="main_banner left">
			<object type="application/x-shockwave-flash" data="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/banner.swf" width="530" height="230">
			  <param name="movie" value="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/banner.swf" />
			  <param name="wmode" value="opaque" />
			</object>
  </div>
<div class="main_Business right">
    	<div class="main_BusinessTitle">
        	<h2 class="left">商务中心</h2>
            <span class="right"><a href="javascript:changem('YBL06','商务中心')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
        </div>
      	<div class="shangwuMain">
            <div style="clear:both" id="swfw_div">
            </div>
		</div>
    </div>
</div><div style="clear:both"></div>
<div class="main2">
	<div class="shouhuo left">
    	<div class="shouhuoTitle">
       	  <h2 class="left">收货</h2>
          <span class="right"><a href="javascript:changem('YBL033','收货')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
        </div>
      	<div class="shouhuoMain">
            <div style="clear:both" id="shouhuo_div">
            </div>
		</div>
    </div>
    <div class="hotel right">
    	<div class="hotel_title">
        	<h2 class="left">合作商家计划</h2>
        </div>
        
        <div class="hotel_main">
		  <div style=" height:189px;">
	        <div class="hotel_pic left">
	        	<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/bear.jpg" />
	        	<img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/ball.jpg" />
	        	
	        </div>
			<div class="hotel_news right" id="dazhe_div">
	        </div>
	        </div>
	        <div style=" margin-top:10px; line-height:18px;"><b>合作商家计划开展中:</b><Br /> 
	        <a href="yhq">雅宝网为了更好的服务雅宝路地区的商户和用户，我们将和周围商家洽谈团购活动(同时也欢迎想参加的商家及时联系我们) 。我们将把参加团购活动的商家的打折券和代金卷放到我们的网站上。大家点击此处进去...</a></div>    
			<div style="clear:both"></div>
	  </div>
    </div>	
</div>
<div class="adbanner"><a href="http://www.qizhu88.com" target="_blank"><img border="none" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/adbanner.jpg"></img></a></div>
<div class="main3">
	<div class="main3l left">
		<!-- 
    	<div class="shuaihuo">
        	<div class="shuaihuoTitle" >
            	<h2 class="left">征婚交友</h2>
				<span class="right"><a href="javascript:changem('YBL041','征婚交友')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
            </div>
            <div class="shuaihuoMain">
            	<dl>
	            	<dt><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/zhenghun.gif" width="96" height="61" /></dt>
	                <a href="javascript:changem('YBL041','征婚交友')"><dd>我一直在这里，没有离开，我一直在等待，等待你的出现。</dd></a>
	            </dl>
	            <div id="zhengjiao_div"></div>
            </div>
        </div>
         -->
        <div class="marriage">
        	<div class="marriageTitle">
            	<h2 class="left">二手货</h2>
				<span class="right"><a href="javascript:changem('YBL051','二手货')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
            </div>
            <div class="marriageMain">
            	<dl>
            	<dt><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/main_pic.gif" width="96" height="61" /></dt>
                <dd><a href="javascript:changem('YBL051','二手货')">甩货啦！！</a></dd>
            </dl>
            <div style="clear:both" id="shuaihuo_div"></div>
            </div>
        </div>
        <div class="marriage">
        	<a href="http://www.58ybl.com/xxzs?inforId=0000000aa001326adcc2f1" target="_blank"><img border="0px" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/leftad1.jpg" /></a>
        	<img border="0px" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/leftad2.jpg" />
        	<img border="0px" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/leftad3.jpg" />
        	<a href="http://www.58ybl.com/xxzs?inforId=0000000a3001326adcc2f1" target="_blank"><img border="0px" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/leftad4.jpg" /></a>
        	<a href="http://www.58ybl.com/xxzs?inforId=00000005e0013295969774" target="_blank"><img border="0px" src="/site/ybl/images/ggs/leftad5.jpg" /></a>
        </div>
    </div>
    <div class="main3r right">
    	<div class="partners">
			<div id="logobox">
			<ul id="logocontent">
			<li style="margin-left:5px"><a href="wlzs1" target="_blank"><img border="0" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/wl1.jpg"  /></a></li>
			<li style="margin-left:5px"><a href="wlzs2" target="_blank"><img border="0" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/wl2.jpg"  /></a></li>
			<li style="margin-left:5px"><a href="wlzs3" target="_blank"><img border="0" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/wl3.jpg"  /></a></li>
			<li style="margin-left:5px"><a href="wlzs4" target="_blank"><img border="0" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/wl4.jpg"  /></a></li>
			<li style="margin-left:5px"><a href="wlzs5" target="_blank"><img border="0" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/wl5.jpg"  /></a></li>
			<li style="margin-left:5px"><a href="wlzs6" target="_blank"><img border="0" src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/ggs/wl6.jpg"  /></a></li>
			</ul>
			</div>
			<script type="text/javascript">
			
			new Marquee(
			{
				MSClass	  : ["logobox","logocontent"],
				Direction : 3,
				Step	  : 1,
				Width	  : 760,
				Height	  : 95,
				Timer	  : 20,
				DelayTime : 0,
				WaitTime  : 0,
				ScrollStep: 0,
				SwitchType: 0,
				HiddenID  : ["logobox"],
				AutoStart : true
			});
			
			setTimeout("document.getElementById('logobox').style.display='';",3000);
			</script>
		</div>
    	<div class="main3_job">
        	<div class="main3_jobTitle">
            	<h2 class="left"><a href="javascript:changeType('YBL02','job_list_div')">求职招聘</a></h2>
				<span class="right"><a href="javascript:changem('YBL02','求职招聘')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
            </div>
            <div class="main3_jobMenu">
                <a href="javascript:changeType('YBL021','job_list_div')">招聘</a>|
                <a href="javascript:changeType('YBL022','job_list_div')">求职</a>
            </div>
            <div class="main3_jobMain" id="job_list_div">
            </div>
		</div> 
        <div class="main3_job">
        	<div class="main3_jobTitle">
            	<h2 class="left"><a href="javascript:changeType('YBL01','hose_list_div')">出租转让</a></h2>
				<span class="right"><a href="javascript:changem('YBL01','出租转让')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
            </div>
            <div class="main3_jobMenu">
            		<a href="javascript:changeType('YBL011','hose_list_div')">商铺出租</a>
                    |<a href="javascript:changeType('YBL012','hose_list_div')">商铺转让</a>
                    |<a href="javascript:changeType('YBL013','hose_list_div')">商铺出售</a>
                    |<a href="javascript:changeType('YBL014','hose_list_div')">住房出租</a>
                    |<a href="javascript:changeType('YBL015','hose_list_div')">住房合租</a>
                    |<a href="javascript:changeType('YBL016','hose_list_div')">出租床位</a>
            </div>
					<div class="main3_jobMain" id="hose_list_div">
					</div>
				</div>
        <div class="main3_job">
        	<div class="main3_jobTitle">
            	<h2 class="left"><a href="javascript:changeType('YBL04','life_list_div')">生活娱乐</a></h2>
				<span class="right"><a href="javascript:changem('YBL04','生活娱乐')"><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" border="0" /></a></span>
            </div>
            <div class="main3_jobMenu">
            	<a href="javascript:changeType('YBL041','life_list_div')">征婚交友</a>|
                <a href="javascript:changeType('YBL042','life_list_div')">美食天地</a>|
                <a href="javascript:changeType('YBL043','life_list_div')">技能交换</a>|
                <a href="javascript:changeType('YBL044','life_list_div')">活动/购物/淘宝</a>
            </div>
            <div class="main3_jobMain" id="life_list_div">
            </div>
		</div>
		
	</div>
</div>
<div style="clear:both"></div>
<%@ include file="footer.jsp" %>
</body>
</html>
